home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / xbtx.lha / Source / Types.hpp < prev   
C/C++ Source or Header  |  1995-10-11  |  2KB  |  81 lines

  1. /*
  2. **    $Id: Types.hpp 1.3 1995/10/11 08:07:20 olsen Exp olsen $
  3. **
  4. **    :ts=4
  5. */
  6.  
  7. /*
  8.  * Amiga changes copyright © 1995 by Olaf Barthel, All Rights Reserved
  9.  *
  10.  * Redistribution and use in source and binary forms, with or without
  11.  * modification, are permitted provided that the following conditions
  12.  * are met:
  13.  * 1. Redistributions of source code must retain the above copyright
  14.  *    notice, this list of conditions and the following disclaimer.
  15.  * 2. Redistributions in binary form must reproduce the above copyright
  16.  *    notice, this list of conditions and the following disclaimer in the
  17.  *    documentation and/or other materials provided with the distribution.
  18.  *
  19.  * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
  20.  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  21.  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
  22.  * EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  23.  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  24.  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
  25.  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  26.  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  27.  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  28.  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29.  *
  30.  * This software has not been validated by the ``Bundesamt fuer Zulassungen in
  31.  * der Telekommunikation'' of the ``Deutsche Bundepost Telekom'' and thus
  32.  * must not be used for accessing the BTX-Network of the Telekom in Germany.
  33.  *
  34.  * Diese Software hat keine Zulassung durch das Bundesamt fuer Zulassungen in
  35.  * der Telekommunikation der Deutschen Bundespost Telekom und darf daher nicht
  36.  * am Netz der Deutschen Bundespost Telekom in Deutschland betrieben werden.
  37.  */
  38.  
  39. #ifndef _TYPES_HPP
  40. #define _TYPES_HPP 1
  41.  
  42. #ifndef CONST
  43. #define CONST const
  44. #endif
  45.  
  46. #ifndef EXEC_TYPES_H
  47.  
  48. #ifndef STATIC
  49. #define STATIC static
  50. #endif
  51.  
  52. #ifndef VOID
  53. #define VOID void
  54. #endif
  55.  
  56. typedef void            *APTR;
  57. typedef long            LONG;
  58. typedef unsigned long    ULONG;
  59. typedef short            WORD;
  60. typedef short            BOOL;
  61. typedef unsigned short    UWORD;
  62. typedef signed char        BYTE;
  63. typedef unsigned char    UBYTE;
  64. typedef char            *STRPTR;
  65.  
  66. #ifndef TRUE
  67. #define TRUE            (0==0)
  68. #endif
  69.  
  70. #ifndef FALSE
  71. #define FALSE            (0!=0)
  72. #endif
  73.  
  74. #ifndef NULL
  75. #define NULL            0L
  76. #endif
  77.  
  78. #endif    // EXEC_TYPES_H
  79.  
  80. #endif    // _TYPES_HPP
  81.